<?php//补充空白名字为趣友+编号include_once("../../config.php");for ($i=0;$i<10;$i++){$_member=select_one_line_all_items($table_prefix."member","nickname = '' ");//print_r2($_member);$_new_detail['ai_nickname']="趣友".$_member['nid'];echo $new_name_sql=update_date($table_prefix."member",$_new_detail,"nid",$_member['nid']);$query = do_query($new_name_sql) or die (mysqli_error().$new_name_sql);}mysqli_close($con);?>